package io.kubesphere.devops.common;

import io.kubesphere.devops.model.MergeAction;

/**
 *
 * <p> PhaseTwoTransactionHandler 抽象二阶段提交过程
 *
 * @author gaochuan
 * @since 2021/11/15
 * @version 0.1.0
 * @date 2021/11/15 16:24
 */
public interface PhaseTwoTransactionHandler {

    void commit(MergeAction action);

    void rollback(MergeAction action);
}
